﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Model
{
    /// <summary>
    /// 门店表
    /// </summary>
    [Table("ShopInfo")]
    public class ShopModel
    {
        /// <summary>
        /// 门店id
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        ///门店名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 门店电话
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 门店地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 门店图片
        /// </summary>
        public string Photo { get; set; }
        /// <summary>
        /// 门店状态 1开店 0关门
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CeratTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDel { get; set; } = false;
    }
}
